/*
 * @Description: 
 * @Autor: Huang Yingming
 * @LastEditors: Ming
 * @LastEditTime: 2021-11-18 13:42:27
 */
const files = require.context('./modules', false, /\.js$/)
const pages = {}
files.keys().forEach(key => {
  const name = key.replace(/(\.\/|\.js)/g, '')
  pages[name] = files(key).default
})
export default pages
